/*************************************************
* Title：TinyToolKit
* Author：Opportunity 
* Discribe：
* CreateTime：2020-04-07 20:50:25
* Version：1.0
* Modify Recoder：
*************************************************/
using System;
using System.Collections.Generic;

namespace TinyToolKit.Localization
{
    [Serializable]
    public class Translation
    {
        public Language Lan = Language.Unspecified;
        public List<TranslationItem> TransItems = new List<TranslationItem>();
    }

    [Serializable]
    public class TranslationItem
    {
        public string Category;
        public string Key;
        public string Value;

        public TranslationItem() { }
        public TranslationItem(string category, string key, string value)
        {
            this.Category = category;
            this.Key = key;
            this.Value = value;
        }
    }
}

